import type { App } from "vue";
import { waterMarker } from "./modules/addWaterMarker";
import { auth } from "./modules/auth";
import { copy } from "./modules/copy";
import { debounce } from "./modules/debounce";
import { drag } from "./modules/drag";
import { throttle } from "./modules/throttle";

export default {
  install(app: App) {
    app.directive("drag", drag);
    app.directive("debounce", debounce);
    app.directive("throttle", throttle);
    app.directive("auth", auth);
    app.directive("copy", copy);
    app.directive("waterMarker", waterMarker);
  },
};
